package com.aacar.op.dao.order;

import com.aacar.op.dao.CrudDao;
import com.aacar.op.dao.MyBatisRepository;
import com.aacar.op.entity.order.Order;

@MyBatisRepository
public interface OrderDao extends CrudDao<Long,Order>{
     int updateOrderDemand(Order entity);
     int updateOrderPay(Order entity);
     Order findOrder(String orderNo);
     int updateMember(Order entity);
     int insertIntegralRecords(Order entity);

     int updateCoupon(Order entity);

     int findNotCancelCount(Long userId);
}
